﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using XQ.WeChatOfficialAccount.DAL.Model;

namespace XQ.WeChatOfficialAccount.WebAPI.Models
{
    /// <summary>
    /// 返回结果类
    /// </summary>
    public class ResultModel
    {
        /// <summary>
        /// 调用是否成功
        /// </summary>
        public bool success { get; set; } = true;
        /// <summary>
        /// 调用返回状态码 10000-成功
        /// </summary>
        public string code { get; set; } = "10000";
        /// <summary>
        /// 接口返回信息
        /// </summary>
        public string message { get; set; } = "调用成功";
        /// <summary>
        /// 分页信息
        /// </summary>
        public Pagination page { get; set; }
        /// <summary>
        /// 接口返回数据
        /// </summary>
        public object data { get; set; }

    }
}